/*
    SUSAN® - Sole of Unix Save ANything

   Copyright (C) 2018-2020 Hechzh Property

   
*/

#ifndef BAREOS_DIRD_UA_OUTPUT_H_
#define BAREOS_DIRD_UA_OUTPUT_H_

#include "lib/output_formatter.h"

namespace directordaemon {

class RunResource;

bool bsendmsg(void* ua_ctx, const char* fmt, ...);
of_filter_state filterit(void* ctx, void* data, of_filter_tuple* tuple);
bool printit(void* ctx, const char* msg);
bool sprintit(void* ctx, const char* fmt, ...);
bool CompleteJcrForJob(JobControlRecord* jcr,
                       JobResource* job,
                       PoolResource* pool);
RunResource* find_next_run(RunResource* run,
                           JobResource* job,
                           utime_t& runtime,
                           int ndays);

} /* namespace directordaemon */
#endif  // BAREOS_DIRD_UA_OUTPUT_H_
